package com.ruoyi.product.domain.Shopping;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物流设置表对象 logistics
 * 
 * @author ruoyi
 * @date 2024-07-29
 */
public class Logistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 物流方式 */
    @Excel(name = "物流方式")
    private String Logistics;

    /** 固定邮费 */
    @Excel(name = "固定邮费")
    private Long postage;

    /** 运费模板 */
    @Excel(name = "运费模板")
    private String template;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private String billing;

    /** 可配送区域 */
    @Excel(name = "可配送区域")
    private String distribution;

    /** 首件 */
    @Excel(name = "首件")
    private Long firstPiece;

    /** 运费 */
    @Excel(name = "运费")
    private Long freight;

    /** 续件 */
    @Excel(name = "续件")
    private Long continued;

    /** 续费 */
    @Excel(name = "续费")
    private Long renewal;

    /** 指定包邮 */
    @Excel(name = "指定包邮")
    private Long designatedFreeShipping;

    /** 包邮区域 */
    @Excel(name = "包邮区域")
    private String freeShippingArea;

    /** 指定不送达 */
    @Excel(name = "指定不送达")
    private Long specifyNotDelivered;

    public String getLogistics() {
        return Logistics;
    }

    public void setLogistics(String logistics) {
        this.Logistics = logistics;
    }

    /** 不送达区域 */
    @Excel(name = "不送达区域")
    private String undeliveredRegions;

    /** 雪花id用于和其他表连接 */
    @Excel(name = "雪花id用于和其他表连接")
    private String snowflakesId;

    /** 邮费金额 */
    @Excel(name = "邮费金额")
    private Long amount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPostage(Long postage) 
    {
        this.postage = postage;
    }

    public Long getPostage() 
    {
        return postage;
    }
    public void setTemplate(String template) 
    {
        this.template = template;
    }

    public String getTemplate() 
    {
        return template;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setBilling(String billing) 
    {
        this.billing = billing;
    }

    public String getBilling() 
    {
        return billing;
    }
    public void setDistribution(String distribution) 
    {
        this.distribution = distribution;
    }

    public String getDistribution() 
    {
        return distribution;
    }
    public void setFirstPiece(Long firstPiece) 
    {
        this.firstPiece = firstPiece;
    }

    public Long getFirstPiece() 
    {
        return firstPiece;
    }
    public void setFreight(Long freight) 
    {
        this.freight = freight;
    }

    public Long getFreight() 
    {
        return freight;
    }
    public void setContinued(Long continued) 
    {
        this.continued = continued;
    }

    public Long getContinued() 
    {
        return continued;
    }
    public void setRenewal(Long renewal) 
    {
        this.renewal = renewal;
    }

    public Long getRenewal() 
    {
        return renewal;
    }
    public void setDesignatedFreeShipping(Long designatedFreeShipping) 
    {
        this.designatedFreeShipping = designatedFreeShipping;
    }

    public Long getDesignatedFreeShipping() 
    {
        return designatedFreeShipping;
    }
    public void setFreeShippingArea(String freeShippingArea) 
    {
        this.freeShippingArea = freeShippingArea;
    }

    public String getFreeShippingArea() 
    {
        return freeShippingArea;
    }
    public void setSpecifyNotDelivered(Long specifyNotDelivered) 
    {
        this.specifyNotDelivered = specifyNotDelivered;
    }

    public Long getSpecifyNotDelivered() 
    {
        return specifyNotDelivered;
    }
    public void setUndeliveredRegions(String undeliveredRegions) 
    {
        this.undeliveredRegions = undeliveredRegions;
    }

    public String getUndeliveredRegions() 
    {
        return undeliveredRegions;
    }
    public void setSnowflakesId(String snowflakesId) 
    {
        this.snowflakesId = snowflakesId;
    }

    public String getSnowflakesId() 
    {
        return snowflakesId;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("Logistics", getLogistics())
            .append("postage", getPostage())
            .append("template", getTemplate())
            .append("templateName", getTemplateName())
            .append("billing", getBilling())
            .append("distribution", getDistribution())
            .append("firstPiece", getFirstPiece())
            .append("freight", getFreight())
            .append("continued", getContinued())
            .append("renewal", getRenewal())
            .append("designatedFreeShipping", getDesignatedFreeShipping())
            .append("freeShippingArea", getFreeShippingArea())
            .append("specifyNotDelivered", getSpecifyNotDelivered())
            .append("undeliveredRegions", getUndeliveredRegions())
            .append("snowflakesId", getSnowflakesId())
            .append("amount", getAmount())
            .toString();
    }
}
